package com.huangwenshuo.futurestarschoolmanagement.pojo.dto;


import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import java.util.List;

/**
 * Created by echisan on 2018/6/23
 */

@Data
public class User {


    private Integer id;


    private String username;


    private String password;

    private String role;

    private List<GrantedAuthority> grantedAuthorities;


    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", role='" + role + '\'' +
                ", grantedAuthorities=" + grantedAuthorities +
                '}';
    }
}
